package com.lyf.lottery.service;


import com.github.pagehelper.PageInfo;
import com.lyf.lottery.model.po.OptActivityBlindBoxRecord;
import com.lyf.lottery.model.req.OptActivityBlindBoxRecordQuery;

import java.io.Serializable;

/**
 * OptActivityBlindBoxRecord service
 * @author lyf
 **/
public interface OptActivityBlindBoxRecordService {


    /**
     * 分页查询
     * @param query 查询条件
     * @date 2020/12/25
     * @return PageInfo
     */
     PageInfo<OptActivityBlindBoxRecord> selectPage(OptActivityBlindBoxRecordQuery query);

    /**
     * 插入数据
     * @param entity entity
     * @date 2020/12/25
     * @return com.lyf.lottery.entity.OptActivityBlindBoxRecord
     */
    OptActivityBlindBoxRecord insert(OptActivityBlindBoxRecord entity);

    /**
     * 修改数据
     * @param entity entity
     * @date 2020/12/25
     */
    void update(OptActivityBlindBoxRecord entity);
    /**
     * 获取详情
     * @param id 主键ID
     * @date 2020/12/25
     * @return com.lyf.lottery.entity.OptActivityBlindBoxRecord
     */
    OptActivityBlindBoxRecord selectById(Serializable id);

}
